.main-nav{
	background: $light;
	padding: 8px!important;
	@include tablet{
		position: relative;
	}
	.navbar-brand{
		// padding: 35px 40px 35px 50px;
		padding: 0px 35px 5px 20px;
		border-right: 1px solid $border-color;
		@include large-desktop {
			padding: 20px 30px;
		}
		@include tablet {
			border-right: none;
		}
	}
	.navbar-nav{
		// edit by linan, 2024-8-2
		flex:1;
		margin-left: 50px;
		.nav-item{
			position: relative;
			font-family: $primary-font;
			.nav-link{
				position: relative;
				text-align: center;
				color: $black;
				padding-left: 5px;
				padding-right: 15px;
				font-size: 1rem;
				font-family: $secondary-font;
				// display: flex;
				@include desktop-nav {
					font-size: 0.75rem;
					padding-left: 5px;
					padding-right: 10px;
				}
				@include large-desktop{
				}
				span{
					color: $black;
					color: #ccc;
					margin-left: 20px;
					// margin-top: 2px;
					@include desktop {
						margin-left: 10px;
					}
				}
			}
			&.active{
				.nav-link{
					color: $primary-color;
				}
			}
		}
		.nav-item:last-child{
			.nav-link{
				span{
					display: none;
				}
			}
		}
	}
	.dropdown-slide {
	  position: static;
	  .open>a, .open>a:focus, .open>a:hover {
	    background: transparent;
		}
	  &.full-width {
	    .dropdown-menu {
	      left:0!important;
	      right:0!important;
	    }
	  }
	  &:hover .dropdown-menu {
	  	border-top: 3px solid $primary-color;
	    display:none;
	    opacity: 1;
	    display: block;
	    transform: translate(0px ,0px);
	    opacity: 1;
	    visibility: visible;
	    color: #777;
	    transform: translateY(0px);
	  }
	  .dropdown-menu {
	  	min-width: 220px;
	  	.dropdown-item{
	  		font-size: 15px;
  		    padding: 10px 0;
  		    transition: .3s ease;
  		    &:not(:last-child){
  		    	border-bottom: 1px solid $border-color;
  		    }
  		    &:hover{
  		    	background: $light;
  		    	color: $primary-color;
  		    }
	  	}
	  	margin-top: 0;
	    border-radius:0;
	    opacity: 1;
	    visibility: visible;
	    position: absolute;
	    padding: 5px 15px;
	    border: 1px solid #ebebeb;
	    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	    transition:.3s all;
	    position: absolute;
	    display: block;
	    visibility: hidden;
	    opacity: 0;
	    transform: translateY(30px);
			transition: visibility 0.2s, opacity 0.2s, transform 500ms cubic-bezier(0.43, 0.26, 0.11, 0.99);
			@include desktop-sm {
				transform: none;
		    left: auto;
		    position: relative;
				text-align: center;
				opacity: 1;
				visibility: visible;
	    }
	  }
	}
	.ticket{
		background: $primary-color;
		display: block;
		display: flex;
		padding: 30px 22px 25px;
		border-radius: 3px;
		@include large-desktop {
			padding: 23px 14px;
		}
		@include desktop-sm{
			text-align: center;
		}
		img{
			// margin-right: 15px;
			margin: -5px 15px 0 0;
			width: 35px;
			height: 35px;
			@include large-desktop {
				display: none;
			}
		}
		span{
			color: $light;
			font-size: 1.125rem;
			text-transform: uppercase;
			font-family: $secondary-font;
			// border-left: 1px solid #ffa366;
			// padding-left: 24px;
			@include large-desktop {
				padding-left: 0;
				font-size: 1rem;
				border-left: none;
			}
		}
	}
}

// bootstrap override
.navbar-toggler:focus, .navbar-toggler:hover{
	outline: none;
}

// Nav Scroll
// .navbar-collapse{
// 	&.show{
// 		@include desktop{
// 			overflow-y: scroll;
// 		}
// 	}
// }
// 中英文切换
.main-nav{
	.cn-en-toggle{
		margin-right: 32px;
		background: #f0f1f2;
		height: 32px;
		padding: 2px;
		box-sizing: border-box;
		border-radius: 3px;
		display: flex;
		.item{
			width: 40px;
			padding: 0;
			line-height: 28px;
			text-align: center;
			font-size: 12px;
			color: #7f7f7f;
			border-radius: 2px;
			&:hover{
				background: #fbfbfb;
			}
			&.en{
				font-size: 13px;
				margin-right: 2px;
			}
			&.current{
				color: #192D62;
				background: #fff;
			}

		}
	}
}

@media screen and (min-width: 1250px) and (max-width: 1600px){
	.main-nav{
		.cn-en-toggle{
			margin-right: 20px;
		}
		.navbar-nav{
			margin-left: 20px;
			.nav-item{
				position: relative;
				font-family: $primary-font;
				padding-left: 5px;
				padding-right: 5px;
				.nav-link{
					// 隐藏分割线
					span{
						display: none;
					}
				}
			}
		}
		// 右上角按钮
		.ticket{
			// padding: 30px 22px 25px; // 默认内边距
			padding: 30px 18px 27px;
			img{
				// margin-right: 15px;
				margin: -2px 13px 0 0;
				$size:28px;
				width: $size;
				height: $size;
				@include large-desktop {
					display: none;
				}
			}
			span{
				font-size: 16px;
			}
		}
	}
}